<?php

function smarty_modifier_dictionary($keyword){
	$dictionaryArray = Registry::Get("dictionary");

	if(isset($dictionaryArray[$keyword]))
		return $dictionaryArray[$keyword];
	else {
		return $keyword;
	}
}
?>